/*
 * icenter page
**/
<template>
<div>
<div class="quick-footernav"><router-link to="/index" class="ui-btn">返回首页</router-link></div>
<div class="mod-page-tit">{{gameDetailData.title}}</div>
<div class="weui-cells">
  <div v-for="item in gameDetailData.formitems">
  <h3>{{item}}</h3>
  </div>
</div>
<div class="mod-footer-place"></div>
</div>
</template>
<script>
import vTab from 'components/common/tab'
import {getUserGameDetail} from 'src/service/getData'
export default {
  data () {
    return {
      gameDetailData: ''
    }
  },
  components: {
    'v-tab': vTab
  },
  mounted () {
    this.initData()
  },
  methods: {
    async initData () {
      let res = await getUserGameDetail(this.$route.params.id)
      this.gameDetailData = res.data
      console.log(res)
    }
  }
}
</script>
<style scoped>
#searchBar{background:#fff;}
.weui-search-bar__box, .weui-search-bar__form, .weui-search-bar__label{background:#fff; border-color:#fff;}
.weui-search-bar__label .fl{font-size:.14rem; background:#fff; color:#ffa200; line-height:26px;}
.weui-search-bar_focusing .weui-search-bar__box,
.weui-search-bar_focusing .weui-search-bar__form,
.weui-search-bar_focusing .weui-search-bar__box{background:#EFEFF4; border-radius:8px;}
.weui-search-bar__cancel-btn{color:#ffa200;}
</style>
